package com.carkepper.appraisal.mongo;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.io.Serializable;

/**
 * 服务评价的mongo的dao层
 */
@Document(collection="user_appraise") //写mongo中对应的用户评价集合
public class AppraisalMongoDao implements Serializable{
    @Id
    private int id; //主键id
    private String orderId; //订单id
    private String storeId; //门店id
    private String storeType; //类别【1汽修厂，2配件商】
    private String storeSimpleName; //门店名称
    private int serviceClassId; //服务分类id
    private String serviceClassName; //服务分类名称
    private String orderCreateTime; //订单时间
    private String customorId; //客户id
    private String customorName; //客户名称
    private String scoreQulity; //质量评分
    private String scoreTransform; //物流评分
    private String scoreStore; //商家态度评价
    private String serviceItems; //服务项目
    private int serviceCost; //服务费用
    private String createTime; //创建时间
    private int delete; //是否删除，0为否，1为是
    private String serviceKind; //服务分类
    private String img; //评价图片
    private String message; //用户评价

    public String getServiceKind() {
        return serviceKind;
    }

    public void setServiceKind(String serviceKind) {
        this.serviceKind = serviceKind;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getStoreType() {
        return storeType;
    }

    public void setStoreType(String storeType) {
        this.storeType = storeType;
    }

    public String getStoreSimpleName() {
        return storeSimpleName;
    }

    public void setStoreSimpleName(String storeSimpleName) {
        this.storeSimpleName = storeSimpleName;
    }

    public int getServiceClassId() {
        return serviceClassId;
    }

    public void setServiceClassId(int serviceClassId) {
        this.serviceClassId = serviceClassId;
    }

    public String getServiceClassName() {
        return serviceClassName;
    }

    public void setServiceClassName(String serviceClassName) {
        this.serviceClassName = serviceClassName;
    }

    public String getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(String orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public String getCustomorId() {
        return customorId;
    }

    public void setCustomorId(String customorId) {
        this.customorId = customorId;
    }

    public String getCustomorName() {
        return customorName;
    }

    public void setCustomorName(String customorName) {
        this.customorName = customorName;
    }

    public String getScoreQulity() {
        return scoreQulity;
    }

    public void setScoreQulity(String scoreQulity) {
        this.scoreQulity = scoreQulity;
    }

    public String getScoreTransform() {
        return scoreTransform;
    }

    public void setScoreTransform(String scoreTransform) {
        this.scoreTransform = scoreTransform;
    }

    public String getScoreStore() {
        return scoreStore;
    }

    public void setScoreStore(String scoreStore) {
        this.scoreStore = scoreStore;
    }

    public String getServiceItems() {
        return serviceItems;
    }

    public void setServiceItems(String serviceItems) {
        this.serviceItems = serviceItems;
    }

    public int getServiceCost() {
        return serviceCost;
    }

    public void setServiceCost(int serviceCost) {
        this.serviceCost = serviceCost;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getDelete() {
        return delete;
    }

    public void setDelete(int delete) {
        this.delete = delete;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
